//
//  UIColor+Extension.swift
//  sinaWeibo
//
//  Created by liii on 16/8/9.
//  Copyright © 2016年 liii. All rights reserved.
//

import UIKit

extension UIColor {

    class func RGBColor() -> UIColor {
        let r = CGFloat(random() % 256) / 255.0
        let g = CGFloat(random() % 256) / 255.0
        let b = CGFloat(random() % 256) / 255.0
        return UIColor(red: r, green: g, blue: b, alpha: 1)
    }
}
